package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hzeport.bgs22emduty.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = false)
@TableName("EMDU_DUTY_SCHEDULE_RECORD")
@ApiModel(value = "记录表")
public class DutyScheduleSetCustomRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value="值班类型：1.日常班；2.节假日；3.重要日；4.节假日")
    @TableField(value ="SCHEDULE_TYPE")
    @JsonProperty(value = "sType")
    private String sType;

    @ApiModelProperty(value="H4A部门GUID")
    @TableField(value ="DEPT_ID")
    @JsonProperty(value = "deptId")
    private String deptId;

    @ApiModelProperty(value="值班总次数")
    @TableField(value ="TOTAL_COUNT")
    @JsonProperty(value = "totalCount")
    private Long totalCount;

    @ApiModelProperty(value="值班需求次数")
    @TableField(value ="NEED_COUNT")
    @JsonProperty(value = "needCount")
    private Long needCount;

    @ApiModelProperty(value="记录状态：1.已经使用；2.尚未使用完；3.未使用")
    @TableField(value ="STATUS")
    @JsonProperty(value = "status")
    private String status;

}
